package com.skillscompetition.skillscompetition.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.skillscompetition.skillscompetition.bean.SkillScontest;
import com.skillscompetition.skillscompetition.vo.SkillSOperrationVo;
import com.skillscompetition.skillscompetition.vo.SkillScontestVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 技能表 服务类
 * </p>
 *
 * @author lwg
 * @since 2019-11-09
 */
public interface ISkillScontestService extends IService<SkillScontest> {
    /*填写理论信息时查询方法*/
    PageInfo<SkillScontestVo> getExam(Integer page, Integer pageSize, String c);

    /*填写理论知识*/
    void updateTheorys(List<SkillScontestVo> obj);

    /*查询现场操作的信息*/
    PageInfo<SkillScontest> getSkillSOperation1(Integer page, Integer pageSize, String c);

    boolean saveSkillSOperation(List<SkillScontest> operration);

    /**
     * 总体成绩刷新
     */
    void refresh();

        /**
         * 总体成绩查询
         * @param page
         * @param pageSize
         * @return
         */
    PageInfo<SkillScontest> massingList(Integer page, Integer pageSize);

    void export(HttpServletResponse response);
}
